package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_strp_data_template")
public class MbResearchStrpDataTemplate extends Model<MbResearchStrpDataTemplate> {

    private static final long serialVersionUID = 1L;

	@TableId(value="temp_id", type= IdType.AUTO)
	private Long tempId;
    /**
     * 模板名称
     */
	@TableField("temp_name")
	private String tempName;

	@TableField("proj_id")
	private String projId;

	@TableField("res_id")
	private String resId;

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	public String getTempName() {
		return tempName;
	}

	public void setTempName(String tempName) {
		this.tempName = tempName;
	}

	public String getProjId() {
		return projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	@Override
	protected Serializable pkVal() {
		return this.tempId;
	}

	@Override
	public String toString() {
		return "MbResearchStrpDataTemplate{" +
			", tempId=" + tempId +
			", tempName=" + tempName +
			"}";
	}
}
